package com.qingmeng.mapper;

import com.qingmeng.model.PhotoType;
import com.qingmeng.model.PhotoTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PhotoTypeMapper {
    long countByExample(PhotoTypeExample example);

    int deleteByExample(PhotoTypeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PhotoType record);

    int insertSelective(PhotoType record);

    List<PhotoType> selectByExample(PhotoTypeExample example);

    PhotoType selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PhotoType record, @Param("example") PhotoTypeExample example);

    int updateByExample(@Param("record") PhotoType record, @Param("example") PhotoTypeExample example);

    int updateByPrimaryKeySelective(PhotoType record);

    int updateByPrimaryKey(PhotoType record);
}